package com.woniu.dao;

import com.woniu.dto.HostListAndCollect;
import com.woniu.dto.HotlistAndDetail;
import com.woniu.pojo.Hotlist;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface HotlistMapper {
    int deleteByPrimaryKey(Long id);

    int insert(Hotlist record);

    int insertSelective(Hotlist record);

    Hotlist selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(Hotlist record);

    int updateByPrimaryKey(Hotlist record);


    List<HotlistAndDetail> getByUserID(Long id);

    HostListAndCollect getCollectHotlist(Long id);

    List<HotlistAndDetail> getnoById(Long id);

    List<HotlistAndDetail> getOnJoin(Long id);
}